home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / wp_dtp / atap.lha / ATAP / Converting Screen Fonts < prev    next >
Text File  |  1992-06-13  |  5KB  |  118 lines

  1. ================================================================
  2.  
  3.                  Converting Macintosh Screen Fonts
  4.  
  5. ================================================================
  6.  
  7. The Macintosh world has the largest collection of typefaces I know. It also
  8. has screen fonts to match. Since the Mac universe conforms to some kind of
  9. standard (unlike some other operating systems) for fonts, it makes much more
  10. sense to use their fonts rather than fonts from MS-DOS.
  11.  
  12. So, we need screen fonts to display type on screen and we need UnpackFNT
  13. and ConvertFNT to use them. Here's how we do it:
  14.  
  15. 1) First, obtain some screen fonts. These are available from your service
  16. bureau if they deal with Macintosh. They're also available from Adobe
  17. Systems and other distributors of typefaces. They must be in a "Suitcase",
  18. created with Font/DA Mover V3.8 or better, on the Macintosh. Suitcases right
  19. off the distribution disks will also work.
  20.  
  21. 2) Get them to your Amiga. That's covered in a separate chapter.
  22.  
  23. 3) Unpack the suitcase or suitcases. This is done with UnpackFNT from the
  24. CLI or AmigaShell:
  25.  
  26. 1.SuitcaseDisk:> UnpackFNT suitcasename
  27.  
  28. The contents of the suitcase file are then dumped to a directory in T:
  29. called "UnpackedFonts". The names of the fonts have spaces removed so
  30. they will match any .metric files you might make with ConvertAFM.
  31.  
  32. 4) Now go to that directory:
  33.  
  34. 1.SuitcaseDisk:> CD T:UnpackedFonts
  35.  
  36. and use ConvertFNT to make them into Amiga fonts:
  37.  
  38. 1.RAM DISK:T/UnpackedFonts> ConvertFNT fontname.size
  39.  
  40. which will create a new Amiga font from this, and write it to your FONTS:
  41. directory, ready for immediate use. You can also rename the fonts before you
  42. convert them, which may be a good idea since Adobe Systems has some crazy
  43. naming schemes.
  44.  
  45. You can convert the entire contents of T:UnpackedFonts by using the SPAT
  46. script, available from Workbench 1.3 or 2.x:
  47.  
  48. 1.RAM DISK:T/UnpackedFonts> SPAT ConvertFNT #?
  49.  
  50. but you have to make sure there's enough room on your FONTS: disk.
  51.  
  52. 5) The point size order might be a bit off, so it's a good idea to run
  53. FixFonts when you're finished:
  54.  
  55. 1.RAM DISK:T/UnpackedFonts> FixFonts
  56.  
  57.                         Tips for Font Conversion
  58.  
  59. 1) You can unpack several suitcases before converting if you wish. Then
  60. convert the whole lot with SPAT. T:UnpackedFonts will remain until you
  61. decide to delete it.
  62.  
  63. 2) UnpackFNT takes memory as much as the suitcase's size, so if your
  64. suitcases are HUGE you may want to re-assign T: to some other place before
  65. using UnpackFNT (Default is RAM:T in WB 1.3 and 2.x)
  66.  
  67. 3) Rename the font files so their names will match any .metric files you'll
  68. create with ConvertAFM. The font name and .metric names must match for
  69. Professional Page to recognize them.
  70.  
  71. 4) Unlike commercial products, UnpackFNT and ConvertFNT won't make .metric
  72. files. Copy over some AFMs and use ConvertAFM to make .metric files.
  73.  
  74. 5) Many type packages' suitcases have multiple weights or italic fonts and
  75. such. This was the cheater's way out of allowing for multiple weights of
  76. type on the Macintosh (and why many Mac users spend money on Adobe Type
  77. Reunion. :-) My advice is: keep all the non-italic fonts and erase the
  78. italic fonts before converting with SPAT, then pair the different weights
  79. with .metric files that have Plain and Italic information. This is described
  80. in detail in "Creating .metric files.doc" and makes handling multiple weights
  81. of type much easier!
  82.  
  83. 6) Fonts converted this way are usable with any Amiga program that uses
  84. screen fonts, not just Professional Page. The notable exception is
  85. Excellence! 2.0 by MSS: if the font has many missing characters it'll crash
  86. Excellence!. This is because those dummies at MSS wrote their own font draw
  87. routines and neglected the possibility of missing characters. Look for the
  88. updrade to Excellence! (WB 2.x compatible) or try a different word processor.
  89. Professional Page, DPaint IV, the ol' Notepad, etc. all work with fonts
  90. converted this way.
  91.  
  92. 7) UnpackFNT reads both pure resource files and MacBinary files, so choose
  93. the file transfer method you're comfortable with (I prefer MacBinary.)
  94.  
  95. 8) Older font converters (IE: MacFont from FF #138) cannot handle newer font
  96. suitcases; primarily those with NFNT resources. UnpackFNT handles them with
  97. ease. In fact, ConvertFNT is from FF #138 and works with NFNTs unpacked with
  98. UnpackFNT (The font format itself is no different.) My respects to Rico
  99. Mariani for breaking the font barrier in the first place!
  100.  
  101. 9) Suitcases infected with Macintosh viruses won't hamper UnpackFNT or
  102. ConvertFNT; the unpacker ignores all resources except FOND, FONT, or NFNT.
  103. If there are any leftover files in T:, they're probably virus resources and
  104. they wouldn't hurt an Amiga anyway.
  105.  
  106. 10) You can unpack different resource types by re-compiling my source code;
  107. include #defines for other resource types and include extra CASE statements
  108. (Refer to the Inside Macintosh texts for such data, and this tip was meant
  109. for programmers only, in case you haven't guessed.)
  110.  
  111. 11) With some experimenting you can unpack different resource files (IE: SND
  112. resources) but you'll have to search through T: to find them afterwards.
  113. UnpackFNT was never meant to recognize anything but fonts but if you are
  114. bored one day, give it a try.
  115.  
  116. And that's it. Time to steal fonts from the rich folk.
  117.  
  118.